/* timer  */

.timer-container {
    box-shadow: 3px 5px 15px rgba(0, 0, 0, 0.644);
    /* border: solid .5px rgba(0, 0, 0, 0.3); */
    /* background-image: linear-gradient(to bottom, rgb(253, 197, 112), rgb(255, 193, 142)); */
    background-color: #f4ebe5;
    padding: 20px 40px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    margin-top: auto;
    box-sizing: border-box;    
    z-index: 1;
    /* position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); */
  }
  
  .timer {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 24px;
    min-width: 600px;
    height: 132px;
    grid-row-gap: 0;
    opacity: 0;
    animation: timerOpacity .7s ease-out 1s forwards;
  }
  
  .timer-inner {
    /* width: 90px;
    height: 90px; */
    width: 100%;
    font-size: 18px;
    /* padding: 5px; */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to top, #f4aea8, #fbd1c7);
    border-radius: 10px;
    text-transform: uppercase;
    color: white;
    line-height: 1.3;
  }
  
  #days, #hours, #minutes, #seconds {
    font-size: 50px;
  }

  @keyframes timerOpacity {
    0% {
      opacity: 0;
      transform: translateY(100%);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @-webkit-keyframes timerOpacity {
    0% {
      -webkit-opacity: 0;
      -webkit-transform: translateY(100%);
    }

    100% {
      -webkit-opacity: 1;
      -webkit-transform: translateY(0);
    }
    
  }

  
  @media (max-width: 820px) {
    .timer-container {
      width: 100%;

    }

    .timer {
      min-width: 100%;
      height: 20vw;
    }


  }

  @media (max-width: 500px) {

    .timer {
      grid-column-gap: 10px;
      min-width: 100%;
    }
    .timer-inner {
      font-size: 10px;
      border-radius: 14px;
    }

    #days, #hours, #minutes, #seconds {
      font-size: 30px;
    }
  }